#ifndef _RECVF_H
#define _RECVF_H
#include<stdio.h>
#include"proto.h"
void getFileSeg(int sock, FILE* fout, pTCB cmd);
void prepareTransfer(char* filename, size_t fnlen, int offset, int dataLen, pTCB cmd);
int getFileLen(int sock, char* filename,size_t fnlen);
#endif
